<div style="height:35px;margin-top:5px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr><#assign pager=pager>
		<td width="33%"><div align="left">
			<span class="pager">&nbsp;&nbsp;&nbsp;&nbsp;共有<strong>${pager.recordCount}</strong> 条记录，当前第<strong>${pager.currPageNo}</strong> 页，共 <strong>${pager.totalPageCount}</strong> 页 </span></div></td>
		<td width="67%">
			<table width="312" border="0" align="right" cellpadding="0" cellspacing="0">
				<tr>
					<td width="49"><div align="center">
					<#if (pageBar.getFirstPageUrl()?length>0) >
						<a href="${pageBar.getFirstPageUrl()}"><img src="${base}/images/pager_index.gif" width="40" height="15" /></a>
					<#else>
					<img src="${base}/images/pager_index.gif" width="40" height="15" />
					</#if>
					</div></td>
					<td width="49"><div align="center">
					<#if (pageBar.getPriorPageUrl()?length > 0) >
						<a href="${pageBar.getPriorPageUrl()}"><img src="${base}/images/pager_prev.gif" width="45" height="15" /></a>
					<#else>
	            		<img src="${base}/images/pager_prev.gif" width="45" height="15" />
					</#if>	
					</div>
					</td>
					<td width="49"><div align="center">
							<#if (pageBar.getNextPageUrl()?length>0) >
							<a href="${pageBar.getNextPageUrl()}"><img src="${base}/images/pager_next.gif" width="45" height="15" /></a>
							<#else>
							<img src="${base}/images/pager_next.gif" width="45" height="15" />
							</#if>
						</div>
					</td>
					<td width="49"><div align="center">
							<#if (pageBar.getLastPageUrl()?length>0) >
							<a href="${pageBar.getLastPageUrl()}"><img src="${base}/images/pager_end.gif" width="40" height="15" /></a>
							<#else>
			            	<img src="${base}/images/pager_end.gif" width="40" height="15" />
							</#if>
						</div>
					</td>
					<td width="37" class="pager"><div align="center">转到</div>
					</td>
					<td width="22"><div align="center">
							<input type="text" name="text_goto" id="text_goto"
								style="width: 20px; height: 12px; font-size: 12px; border: solid 1px #7aaebd;" />
						</div>
					</td>
					<td width="22" class="pager"><div align="center">页</div>
					</td>
					<td width="35"><#if (pageBar.getTotalPageCount()>1) >
		            	<a href="javascript:goto();"><img src="${base}/images/pager_change.gif" width="26" height="15" /></a>
						<#else>
		            	<img src="${base}/images/pager_change.gif" width="26" height="15" />
						</#if>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
</div>
<script type="text/javascript">
function goto(){
	var value=$("#text_goto").val();
	var re = /^[1-9]\d*$/;
	if(re.test(value)){
		if(value>${pageBar.getTotalPageCount()}||value<1){
			alert("输入超过限制！");
		}else{
			location.href="${pageBar.getPageUrlNoPageNumber()}"+value;
		}
	}else{
		alert("输入格式错误！");
		$("#text_goto").val("");
	}
}
</script>